package com.example.emos.api.service;

import com.example.emos.api.common.util.PageUtils;
import com.example.emos.api.db.pojo.TbMeeting;

import java.util.ArrayList;
import java.util.HashMap;

public interface MeetingService {
    public PageUtils searchOfflineMeetingByPage(HashMap param);
    public int insert(TbMeeting meeting);

    /**
     * 查询周日历
     * @param param
     * @return
     */
    public ArrayList<HashMap> searchOfflineMeetingInWeek(HashMap param);
    public HashMap searchMeetingInfo(short status, long id);

    /**
     * 删除会议
     * @param param
     * @return
     */
    public int deleteMeetingApplication(HashMap param);


    //    线上的会议的增删改差

    /**
     * 查询
     * @param param
     * @return
     */
    public PageUtils searchOnlineMeetingByPage(HashMap param);

    /**
     * 查询视频会议室RoomID
     * @param uuid
     * @return
     */
    public Long searchRoomIdByUUID(String uuid);

    /**
     * 线上会议室参会人信息查询
     * @param param
     * @return
     */
    public ArrayList<HashMap> searchOnlineMeetingMembers(HashMap param);

    /**
     * 会议室签到
     * @param param
     * @return
     */
    public boolean searchCanCheckinMeeting(HashMap param);
    public int updateMeetingPresent(HashMap param);
}
